package com.phychips.rcp;

/**
 * RcpTypeCSelect defines the class for Type C A/I Select Parameters.
 *
 */
public class RcpTypeCSelect {
	/** S0 (000), S1 (001), S2 (010), S3 (011), SL (100) */
	public int		target;
	/** Refer to ISO18000-6C. */
	public int		action;
	/** RFU (00), EPC (01), TID (10), User (11) */
	public int 		memoryBank;
	/** Enable (1) and Disable (0) */
	public int		truncate;
	/** Starting mask address */
	public long		pointer;	
	/** mask length bits */
	public int		length;
	/** Mask value */
	public byte[]	mask;
	
	public RcpTypeCSelect(int length)
	{
		this.length = length;
		mask = new byte[(length + 7) >> 3];
	}
}
